package com.yf.user.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DrBalanceTransferRecord {

    private Integer id;

    private Integer uid;

    private BigDecimal amount;

    private Integer status;

    private String reason;

    private String serialNumber;

    private Date createTime;

    @Getter
    @AllArgsConstructor
    public enum StatusEnum {

        FAILED(0, "失败"),
        SUCCEED(1, "成功");

        private Integer status;
        private String content;
    }
}